package com.pai4j.domain.vo.request.creator;

import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 更新创作者信息请求VO
 *
 * @author: CYM-pai
 * @date: 2025/11/01
 */
@Data
public class UpdateCreatorRequestVO implements Serializable {
    
    private static final long serialVersionUID = 1L;
    
    /**
     * 用户ID
     */
    @NotBlank(message = "用户ID不能为空")
    private String userId;
    
    /**
     * 创作者昵称
     */
    @Size(max = 128, message = "昵称长度不能超过128个字符")
    private String creatorName;
    
    /**
     * 头像URL
     */
    private String avatar;
    
    /**
     * 个人简介
     */
    @Size(max = 500, message = "简介长度不能超过500个字符")
    private String bio;
    
    /**
     * 邮箱
     */
    @Email(message = "邮箱格式不正确")
    private String email;
    
    /**
     * 擅长领域列表
     */
    private List<String> expertiseFields;
}

